<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>

<body>
    <script type="text/javascript" src="./lib/jquery.js"></script>
    <!-- 方法1：给script添加一个async将其转化成为异步 -->
    <script async src="http://www.liulongbin.top:3006/api/jsonp?callback=nihao&uname=lisi&age=12"></script>
    <!-- 方法2:动态创建的script是异步得 -->
    <script>
        var script = document.createElement('script');
        script.src = "http://www.liulongbin.top:3006/api/jsonp?callback=nihao&uname=lisi&age=12";
        var head = document.getElementsByTagName('head')[0];
        head.appendChild(script);
        head.removeChild(script);
    </script>
</body>

</html>